WPForms\Admin\Builder\Templates C

Total Complexity 123
Dependencies 1
Dependents 2
Total lines 1,181
Lines of code 583
Logical lines of code 255
Comment lines 404
Methods 34
Properties 7

Methods 34

Method Rating Maintainability Complexity Lines of code
init_templates_data()
A
45 9 42
get_template_on_request()
A
53 10 22
apply_to_existing_form()
A
48 9 32
apply_to_new_form()
A
48 8 34
create_form_on_request()
S
46 6 43
ajax_save_favorites()
S
52 7 24
check_template_required_addons()
S
58 6 15
get_template()
S
56 5 20
get_license_level()
S
58 5 16
has_access()
S
59 5 14
enqueues()
S
44 2 49
add_addons_templates()
S
62 4 12
upgrade_banner_template()
S
52 3 26
create_form_on_request_redirect()
S
55 3 23
get_template_by_id()
S
66 4 8
allow_load()
S
68 4 6
get_template_by_slug()
S
66 4 8
sort_templates_by_created_at()
S
62 3 12
add_surveys_polls_templates()
S
47 1 41
add_user_registration_templates()
S
50 1 32
get_favorites_list()
S
66 3 8
is_valid_template()
S
65 3 8
init_license_data()
S
64 3 8
get_templates()
S
62 2 11
get_hash()
S
72 2 6
init()
S
68 2 8
is_favorite()
S
71 2 6
add_post_submissions_templates()
S
59 1 14
get_localized_addons()
S
62 1 13
get_subcategories()
S
82 1 3
add_templates_to_setup_panel()
S
79 1 3
get_categories()
S
82 1 3
update_favorites_list()
S
80 1 3
hooks()
S
62 1 10